package com.dxx.cloud.admin.module.request;

import com.dxx.cloud.admin.constant.CommonConst;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;

/**
 * @author duh
 * @create 2020/8/19 18:55

 **/
public class TimeAreaRequest {
    @Schema(description="开始日期",example = "2020-01-01")
    private String startDate;

    @Schema(description="结束日期",example = "2020-01-01")
    private String endDate;

    @Schema(description= "日期筛选类型，1：今天，2：本周，3：本月，自定义日期筛选不用传递", example = "3")
    private String dateType;

    @Schema(description="时区",example = "8")
    @Min(-12)
    @Max(12)
    private Integer timeArea = CommonConst.DEFAULT_TIME_AREA;

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getDateType() {
        return dateType;
    }

    public void setDateType(String dateType) {
        this.dateType = dateType;
    }

    public Integer getTimeArea() {
        return timeArea;
    }

    public void setTimeArea(Integer timeArea) {
        this.timeArea = timeArea;
    }
}
